<?php
// +----------------------------------------------------------------------
// | 公用路由
// +----------------------------------------------------------------------

use owns\middleware\ApiMiddleware;
use think\facade\Route;

Route::get('/', 'index/index');
Route::post('/', 'index/test')->middleware(ApiMiddleware::class);